package top.continew.admin.sport.model.query;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Data;

import io.swagger.v3.oas.annotations.media.Schema;

import top.continew.starter.data.core.annotation.Query;
import top.continew.starter.data.core.enums.QueryType;

/**
 * 比赛成绩查询条件
 *
 * @author xiahaike
 * @since 2024/09/15 12:52
 */
@Data
@Schema(description = "比赛成绩查询条件")
public class ProjectEntryGradeQuery implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    private Long projectId;

    /**
     * 项目报名id
     */
    @Schema(description = "项目报名id")
    @Query(type = QueryType.EQ)
    private Long projectEntryId;

    /**
     * 比赛结果
     */
    @Schema(description = "比赛结果")
    @Query(type = QueryType.EQ)
    private String result;

    /**
     * 成绩
     */
    @Schema(description = "成绩")
    @Query(type = QueryType.EQ)
    private String score;

    /**
     * 成绩是否有效 0：有效，1：无效
     */
    @Schema(description = "成绩是否有效 0：有效，1：无效")
    @Query(type = QueryType.EQ)
    private Integer isEffective;
}